<form class="form-horizontal form-validate form-modal" method="post" action="{:url('setadditional')}">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal">&times;</button>
                <h4 class="modal-title">修改附加分红份数</h4>
            </div>
            <div class="modal-body">
                {volist name="all" id="vo" }
                <div class="form-group">
                    <label class="col-sm-2 control-label">{$vo.jc_name}</label>
                    <div class="col-sm-6 must">
                        <input type="text" class="input-max" name="additional_div[{$vo.level_id}][value]"
                               value="{$additional_div[$vo.level_id]['value']}"
                               data-required="true"
                               max="{$vo.num}"
                               placeholder="请输入附加份数">

                    </div>
                </div>
                {/volist}
            </div>
            <div class="modal-footer">
                <input type="hidden" value="{$row.user_id}" name="user_id"/>
                <button type="submit" class="btn btn-primary" data-loading-text="保存中..." disabled>保存</button>
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
            </div>
        </div>
    </div>
</form>

